<?xml version='1.0' encoding='UTF-8' ?>
<!DOCTYPE composition PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<ui:composition xmlns:ui="http://java.sun.com/jsf/facelets"
                xmlns:h="http://java.sun.com/jsf/html"
                xmlns:f="http://java.sun.com/jsf/core"
                xmlns:p="http://primefaces.prime.com.tr/ui"
                xmlns:c="http://java.sun.com/jsf/composite/componentes"
                template="../template.xhtml">
    <ui:define name="conteudo">
        <h:form prependId="false" styleClass="form-estilo" rendered="#{listarMembro.autorizar('PAPEL_EDITAR_FUNCAO')}">
            <h2>Editar Música</h2>
            <fieldset>
                <legend>Detalhes</legend>
                <c:edicao controle="#{editarFuncao}" textoBotaoVoltar="#{i18n.botao_voltar}" textoBotaoSalvar="#{i18n.botao_salvar}"/>
                <br/><br/>
                <h:panelGrid columns="2">
                    <h:outputLabel value="#{i18n.funcao_nome}"/>
                    <h:inputText value="#{editarFuncao.objeto.nome}" label="#{i18n.funcao_nome}" required="true" requiredMessage="#{i18n.funcao_nome_mensagem}" size="50"/>
                </h:panelGrid>
            </fieldset>
        </h:form>
    </ui:define>
</ui:composition>
